package com.zx.BookSeaReader.greendao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;

import androidx.annotation.Nullable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @Author: ZX
 * @Time: 2020/4/20
 * @Description: 章节讨论
 */
@Entity
public class BookChapterComment implements Serializable {
        @Transient
        private static final long serialVersionUID = 1L;

        @Id(autoincrement = true)
        private Long chapterCommentId;
        private String username;
        private String content;
        @Nullable
        private int likeCount;
        private int floorCount;
        @Nullable
        private boolean haveImage;
        private String createTime;
        private String bookId;
        private int ReadPosition;//记录点
        private String ChapterName;//章节名
        private int ChapterNum;//历史章节数字
        @Generated(hash = 489132753)
        public BookChapterComment(Long chapterCommentId, String username,
                String content, int likeCount, int floorCount, boolean haveImage,
                String createTime, String bookId, int ReadPosition, String ChapterName,
                int ChapterNum) {
            this.chapterCommentId = chapterCommentId;
            this.username = username;
            this.content = content;
            this.likeCount = likeCount;
            this.floorCount = floorCount;
            this.haveImage = haveImage;
            this.createTime = createTime;
            this.bookId = bookId;
            this.ReadPosition = ReadPosition;
            this.ChapterName = ChapterName;
            this.ChapterNum = ChapterNum;
        }
        @Generated(hash = 576879753)
        public BookChapterComment() {
        }
        public Long getChapterCommentId() {
            return this.chapterCommentId;
        }
        public void setChapterCommentId(Long chapterCommentId) {
            this.chapterCommentId = chapterCommentId;
        }
        public String getUsername() {
            return this.username;
        }
        public void setUsername(String username) {
            this.username = username;
        }
        public String getContent() {
            return this.content;
        }
        public void setContent(String content) {
            this.content = content;
        }
        public int getLikeCount() {
            return this.likeCount;
        }
        public void setLikeCount(int likeCount) {
            this.likeCount = likeCount;
        }
        public int getFloorCount() {
            return this.floorCount;
        }
        public void setFloorCount(int floorCount) {
            this.floorCount = floorCount;
        }
        public boolean getHaveImage() {
            return this.haveImage;
        }
        public void setHaveImage(boolean haveImage) {
            this.haveImage = haveImage;
        }
        public String getCreateTime() {
            return this.createTime;
        }
        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
        public String getBookId() {
            return this.bookId;
        }
        public void setBookId(String bookId) {
            this.bookId = bookId;
        }
        public int getReadPosition() {
            return this.ReadPosition;
        }
        public void setReadPosition(int ReadPosition) {
            this.ReadPosition = ReadPosition;
        }
        public String getChapterName() {
            return this.ChapterName;
        }
        public void setChapterName(String ChapterName) {
            this.ChapterName = ChapterName;
        }
        public int getChapterNum() {
            return this.ChapterNum;
        }
        public void setChapterNum(int ChapterNum) {
            this.ChapterNum = ChapterNum;
        }
}
